<template>
    <el-select placeholder="请选择性别">
        <el-option
                    v-for="item in XBOptions"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
        />
    </el-select>
</template>

<script>
    export default {
        data() {
            return {
                XBOptions: [
                    { value: 1, label: '男' },
                    { value: 2, label: '女' },
                ]
            }
        }
    }
</script>
